package com.epam.kulibaba.components;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.FindBy;
import org.openqa.selenium.support.PageFactory;

public class Header extends Component{
	@FindBy(css= ".head_menu_form_content")
	private WebElement searchBlock;
	
	public static Header getHeader(WebDriver driver) {
		Header header = PageFactory.initElements(driver, Header.class);
		return header;
	}
	public WebElement getSearchBlock(){
		return searchBlock;
	}
}

